<extend name="Public/base"/>
<block name="body">
  <form method="post" class="form-horizontal J_ajaxForm" action="{:U('')}">
       <div class="tab-content">


           <div class="space-4"></div>
           <div class="form-group">
               <label class="col-sm-2 control-label ">金额</label>
               <div class="col-sm-10">
                   <input type="text"  name="price" value="{$data.price}" class="input-medium " />
               </div>
           </div>


           <div class="form-group">
               <label class="col-sm-2 control-label ">充值奖励 </label>
               <div class="col-sm-10">
                   <input type="text"  name="title" value="{$data.title}" class="col-xs-8 col-sm-5 " />
               </div>
           </div>

           <div class="space-4"></div>
           <div class="form-group">
               <label class="col-sm-2 control-label ">产品</label>
               <div class="col-sm-10">
                   <input type="text"  name="product_name" value="{$data.product_name}" class="col-xs-8 col-sm-5 " />
               </div>
           </div>

           <div class="space-4"></div>
           <div class="form-group">
               <label class="col-sm-2 control-label ">赠送次数</label>
               <div class="col-sm-10">
                   <input type="text"  name="cishu" value="{$data.cishu}" class="input-small " />
               </div>
           </div>

           <div class="space-4"></div>
           <div class="form-group">
               <label class="col-sm-2 control-label ">单次赠送数量</label>
               <div class="col-sm-10">
                   <input type="text"  name="num" value="{$data.num}" class="input-small " />
               </div>
           </div>




           <div class="space-4"></div>
           <div class="form-group">
               <label class="col-sm-2 control-label ">奖金比例</label>
               <div class="col-sm-10">
                   <input type="text"  name="bili" value="{$data.bili}" class="input-small " />
               </div>
           </div>








       </div>
       <if condition="$edit">
     <input type="hidden"  name="id"   value="{$data.id}"  /></if>
      <div class="form-actions">
          <button class="btn btn-info ajax-post"   target-form="J_ajaxForm" type="submit">  <if condition="$edit">更新<else/>提交</if></button>

      	 <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
      </div>
      
      </div>
    </form>
</block>
<block name="plugin-script">
    <script src="__JS__/content.js"></script>
    <script src="__JS__/ueditor/ueditor.config.js"></script>
    <script src="__JS__/ueditor/ueditor.all.min.js"></script>
</block>